<template>
  <div class="desktop h-screen dark:bg-zinc-900">
    <router-view class="h-main" v-slot="{ Component }">
      <keep-alive>
        <component :is="Component" v-if="$route.meta.keepAlive" />
      </keep-alive>
      <component :is="Component" v-if="!$route.meta.keepAlive" />
    </router-view>
  </div>
</template>
<script setup></script>

<style lang="scss" scoped></style>
